/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package yuhuibear.poat.exception;

/**
 * 没有被映射到数据库的类型.
 * 
 * @author yuhuibear
 */
@SuppressWarnings("serial")
public class NotMappedType extends PoatException {

	@SuppressWarnings("unchecked")
	public NotMappedType(Class type) {
		super(type.getName() + " hasn't been mapped to data base");
	}

	public NotMappedType(String shortNameOfBean) {
		super(shortNameOfBean + " hasn't been mapped to data base");
	}
}
